Skip to main content

All Questions

Tagged with
0votes
1answer
47views

How to disambiguate a second version of an installation from command-line?

I installed a tool called herd (http://diy.inria.fr/herd/). The original version of this I think is in the global path so I can call it from anywhere by writing herd7. Now I also have a second ...
IIM's user avatar
  • 103
0votes
2answers
80views

How come I can change my PATH to gibberish and still use commands?

The environment variable PATH is the search path for executable commands, so I thought changing the PATH to something that doesn't exist (for instance, export PATH=blah) would make me unable to use ...
rubberband's user avatar
0votes
0answers
818views

Make Python3 script callable from everywhere without making it an executable

I've got a folder: /root/Desktop/commands/ This folder contains many Python scripts that should be callable from anywhere from the terminal. How can I make it, that I say once, that all scripts in ...
CMinusMinus's user avatar
0votes
0answers
8kviews

/usr/bin/fg: line 4: fg: no job control

I have faced the problem mentioned above when I call sleep 100 & Background job starts, and then I pause the process by: kill -STOP <PID> Then if I just say fg sleep It brings the job to ...
HARUN SASMAZ's user avatar
0votes
1answer
872views

What is the $PATH given to cron jobs? [duplicate]

I have a process that runs on a @reboot cron job. The process needs to run an executable file. I have noticed that I have to put the executable in /usr/bin/. I can't just put it in a folder in my $...
CJ7's user avatar
  • 839
13votes
1answer
3kviews

Executable file named 'test' is in $PATH but won't run

I have a file in $HOME/bin (before you ask, yes, it is in my path) called test which I've confirmed can be executed fine when I run it with the full path to the file. However, I get a really weird ...
ContronThePanda's user avatar
0votes
0answers
146views

Make programs in /opt searchable from launcher

I've installed Telegram and I've the folder "tsetup.1.3.10", where executable files reside, into Download folder. I don't want my programs in Download folder, so I moved they in /opt folder. But, ...
Jeromy's user avatar
1vote
1answer
129views

Linux's command line behaviour (Ubunto/Deb) in running an executable file [duplicate]

@user-123:~$ Downloads/execfile-3.4/execfile @user-123:~$ @user-123:~$ cd Downloads/execfileparentdir-3.4/ @user-123:~/Downloads/execfileparentdir-3.4$ execfile execfile: command not found @user-123:~...
Kasravnd's user avatar
2votes
2answers
3kviews

binary placed in folder on $PATH is not immediately accessible

in my $PATH I have folder ~/.zsh/bin which I use for small scripts and custom built executable binaries, for example I added a recently compiled tool I made called wercker_build_status to the folder. ...
Thermatix's user avatar
1vote
1answer
3kviews

How to list all commands available from $PATH [duplicate]

I would like to list all commands available in $PATH. Any idea ?
MevatlaveKraspek's user avatar
35votes
1answer
3kviews

How did the ~/.local/bin thing start? How widespread is it?

I find more and more tools that put executables into ~/.local/bin. I am old and for me ~/bin is the place in my $HOME for executables. Where did this crazy new fashion originate? Why are people doing ...
Thomas Koch's user avatar
3votes
1answer
3kviews

Should libexec folders be added to some PATH-like variables?

Situation Some programs that I build from source have a directory libexec in the installation directory (for example, gnuplot). As a matter of rule, I add a export LD_LIBRARY_PATH=${installation ...
XavierStuvw's user avatar
1vote
1answer
122views

PATH environment variable

If a command's executable file resides in a directory that is not defined in your PATH environment variable, how can you still execute it?
nick's user avatar
3votes
2answers
6kviews

Absolute path to currently executing program

argv[0] references the shell command that caused the current process to load. getcwd() returns current working directory. From that info, can I construct an absolute path to the program's binary ...
Phil's user avatar
0votes
1answer
57views

How to locate exactly that executable, which will be run if it's name entered in command line? [duplicate]

Is it possible to locate exactly that executable myname which will be run if passed to command line > myname locate command didn't work as expected, since it returns numerous results. Result ...
Dims's user avatar
  • 3,375

153050per page
close